package jea.machine.gui;

import javax.swing.JMenu;
import javax.swing.event.MenuEvent;
import javax.swing.event.MenuListener;

public class MainGuiMenu implements MenuListener 
{
    protected JMenu item;
	@Override
	public void menuSelected(MenuEvent e) 
	{
	  item=(JMenu)e.getSource();
	  System.out.println("Menu ["+item.getText()+ "] Selected");		
	}

	@Override
	public void menuDeselected(MenuEvent e) 
	{
			
	}

	@Override
	public void menuCanceled(MenuEvent e) 
	{

	}

}
